]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: unbreak acrive states for icon tiles
authorJakub Steiner <jimmac@gmail.com>
Mon, 15 Jul 2019 22:16:32 +0000 (00:16 +0200)
committerJakub Steiner <jimmac@gmail.com>
Mon, 15 Jul 2019 22:16:32 +0000 (00:16 +0200)
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1446

data/theme/gnome-shell-sass/_common.scss

index ae1bed6a7641a8862eab4a7d4989c86a262fc6a3..97d2fecfeba7c5489310d195a1df2c93c0e8a61e 100644 (file)
@@ -1497,11 +1497,11 @@ StScrollBar {
   .search-provider-icon,
   .list-search-result {
     @extend %icon_tile;
-    &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
     &:focus, &:selected, &:hover {
       background-color: transparentize($osd_fg_color,.9);
       transition-duration: 200ms;
     }
+    &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
   }
   .app-well-app,
   .app-well-app.app-folder,
@@ -1510,10 +1510,6 @@ StScrollBar {
     & .overview-icon {
       @extend %icon_tile;
     }
-    &:active .overview-icon,
-    &:checked .overview-icon {
-      background-color: transparentize(darken($osd_bg_color,10%), 0.5);
-    }
     &:hover .overview-icon,
     &:focus .overview-icon,
     &:selected .overview-icon {
@@ -1522,7 +1518,10 @@ StScrollBar {
       border-image: none;
       background-image: none;
     }
-
+    &:active .overview-icon,
+    &:checked .overview-icon {
+      background-color: transparentize(darken($osd_bg_color,10%), 0.5);
+    }
   }
 
   .app-well-app-running-dot { //running apps indicator